package com.party.core.service.analysis;

import com.party.common.paging.Page;
import com.party.core.model.analysis.StatisticsModulePVUV;
import com.party.core.model.analysis.StatisticsPageCounter;
import com.party.core.service.IBaseService;


import java.util.List;
import java.util.Map;

/**
 * @program: party-temp
 * @description: 页面流程接口
 * @author: Huaqunhao
 * @create: 2018-08-01 11:53
 **/
public interface IStatisticsPageCountService extends IBaseService<StatisticsPageCounter> {

    /**
     * 批量插入传入的实体集合对象到数据库
     * @param pageCounterList
     * @return
     */
    boolean batchInsert(List<StatisticsPageCounter> pageCounterList);

    /**
     * 通过传入的页面统计实体参数及其他可能的附加条件，构造分页的查询结果
     * @param pageCounter
     * @param params
     * @param page
     * @return
     */
    List<StatisticsPageCounter> listPageByOthers(StatisticsPageCounter pageCounter, Map<String, Object> params, Page page);

    List<StatisticsModulePVUV> getModulePVUV(StatisticsPageCounter pageCount,Map<String, Object> params, Page page);
}
